package com.rmy.queue.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.rmy.common.annotation.Excel;
import com.rmy.common.core.domain.BaseEntity;

/**
 * 语音配置对象 qms_voic_config
 *
 * @author rmy
 * @date 2022-10-12
 */
public class QmsVoicConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 机构代码 */
    @Excel(name = "机构代码")
    private String orgNo;

    /** 机构名称 */
    @Excel(name = "机构名称")
    private String deptName;

    /** 语音模块名称 */
    @Excel(name = "语音模块名称")
    private String voicName;

    /** 设备IP */
    @Excel(name = "设备IP")
    private String deviceIp;

    /** 设备端口 */
    @Excel(name = "设备端口")
    private Long devicePort;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 内容模板 */
    @Excel(name = "内容模板")
    private String contentTemplate;

    /** 参数配置 */
    @Excel(name = "参数配置")
    private String jsonSettings;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setOrgNo(String orgNo)
    {
        this.orgNo = orgNo;
    }

    public String getOrgNo()
    {
        return orgNo;
    }
    public void setVoicName(String voicName)
    {
        this.voicName = voicName;
    }

    public String getVoicName()
    {
        return voicName;
    }
    public void setDeviceIp(String deviceIp)
    {
        this.deviceIp = deviceIp;
    }

    public String getDeviceIp()
    {
        return deviceIp;
    }
    public void setDevicePort(Long devicePort)
    {
        this.devicePort = devicePort;
    }

    public Long getDevicePort()
    {
        return devicePort;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setContentTemplate(String contentTemplate)
    {
        this.contentTemplate = contentTemplate;
    }

    public String getContentTemplate()
    {
        return contentTemplate;
    }
    public void setJsonSettings(String jsonSettings)
    {
        this.jsonSettings = jsonSettings;
    }

    public String getJsonSettings()
    {
        return jsonSettings;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orgNo", getOrgNo())
            .append("voicName", getVoicName())
            .append("deviceIp", getDeviceIp())
            .append("devicePort", getDevicePort())
            .append("status", getStatus())
            .append("contentTemplate", getContentTemplate())
            .append("jsonSettings", getJsonSettings())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }
}
